package com.hitqz.robot.netty.util;

import com.google.common.collect.Maps;
import com.hitqz.robot.common.core.util.R;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author xupkun
 * @date 2024/7/26
 */
public class NettyUtils {

    public static Map<Integer, R> COMMON_RESULT = Maps.newHashMap();


    public static void main(String[] args) throws Exception {

        List<String> stringList = new ArrayList<>();
        stringList.add("1231");
        stringList.add("32");
        stringList.add("31");
        stringList.add("33");
        boolean isSe=stringList.stream().anyMatch(t-> (t != null &&
                (t.contains("31"))));
        System.out.println(isSe);
    }


}
